package com.cf.dao.entity;
import java.io.Serializable;
public class User implements Serializable {
    private int id;
    private String account;
    private String name;
    private Integer age;
    private String Email;
    private String sexy;
    private String phone;
 private int root;
 private int state;
 private String avatar;
    private int commentall;
    private String password;


    public User(String account, String password, String tel) {
        this.account=account;
        this.password=password;
        this.phone=tel;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", account='" + account + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", Email='" + Email + '\'' +
                ", sexy='" + sexy + '\'' +
                ", phone='" + phone + '\'' +
                ", root=" + root +
                ", state=" + state +
                ", avatar='" + avatar + '\'' +
                ", commentall=" + commentall +
                ", password='" + password + '\'' +
                '}';
    }

    public User() {
    }
    public User(Integer id) {
        this.id = id;
    }
    public User(String account, String password, String sexy, Integer age, String phone, String avatar) {
        this.account = account;
        this.password = password;
        this.sexy = sexy;
        this.age = age;
        this.phone = phone;
        this.avatar = avatar;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getEmail() {
        return Email;
    }

    public void setEmail(String email) {
        Email = email;
    }

    public String getSexy() {
        return sexy;
    }

    public void setSexy(String sexy) {
        this.sexy = sexy;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getRoot() {
        return root;
    }

    public void setRoot(int root) {
        this.root = root;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getCommentall() {
        return commentall;
    }

    public void setCommentall(int commentall) {
        this.commentall = commentall;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
